package com.jumi.microservice.stock.api.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "CommodityStockReleaseDTO", description = "商城物料库存释放传输对象")
public class CommodityStockReleaseDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 6220015161981403066L;

    @ApiModelProperty(value = "供应链物料id")
    private Long materialId;

    @ApiModelProperty(value = "库存数")
    private Integer stockNum;

    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    @Override
    public String toString() {
        return "CommodityStockReleaseDTO{" +
                "materialId=" + materialId +
                ", stockNum=" + stockNum +
                ", warehouseId=" + warehouseId +
                '}';
    }
}
